import http from "./fetchHttp";
export function updateMemberInfo(data) {
    if(data[0].user_enable===true){
        data[0].user_enable=0
    }
    else{
        data[0].user_enable=1

    }
    console.log(data,'data');

  return http({
    url: "/user/updateMemberInfo",
    method: "post",
    data:data[0]
  });
}
